package com.example.food_contract_system.service;

import com.example.food_contract_system.domain.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.food_contract_system.util.R;

/**
* @author Lhy
* @description 针对表【order】的数据库操作Service
* @createDate 2023-07-06 09:22:15
*/
public interface OrderService extends IService<Order> {

    R insertOrder(String aId, String cId, String productList);

    R getOrderListByUser(String aId);

    R getOrderDetail(String oId);

    R pay(String oId, String aId);

    R deleteOrder(String oId);
}
